package routers

import (
	"advertising/internal/app/web/controller"

	"github.com/gin-gonic/gin"
)

func PublishScheduleRouter(r *gin.RouterGroup) {
	r.POST("save", controller.PublishSchedule{}.Save)
	r.POST("list", controller.PublishSchedule{}.List)
	r.POST("detail", controller.PublishSchedule{}.Detail)
	r.POST("submit", controller.PublishSchedule{}.Submit)
	r.POST("end", controller.PublishSchedule{}.End)
	r.POST("auditing-count", controller.PublishSchedule{}.AuditingPublishScheduleCount)
	r.POST("publishing-count", controller.PublishSchedule{}.PublishingPublishScheduleCount)
	r.POST("schedule-calendar", controller.PublishSchedule{}.ScheduleCalendar)
	
	r.POST("list_orderinfo", controller.PublishSchedule{}.ListOrderInfo)
	r.POST("detail_orderinfo", controller.PublishSchedule{}.DetailOrderInfo)
}
